﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace DongFangGuoKai.WMSPlatform.Domain.Model
{
    ///<summary>
    ///
    ///</summary>
    [SugarTable("t_InterfaceLog")]
    public partial class t_InterfaceLog
    {
        public t_InterfaceLog()
        {


        }
        /// <summary>
        /// Desc:Id主键
        /// Default:
        /// Nullable:False
        /// </summary>           
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }

        /// <summary>
        /// Desc:接口名称
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? Name { get; set; }

        /// <summary>
        /// Desc:接口地址
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? Url { get; set; }

        /// <summary>
        /// Desc:请求方式：1-Get;2-Post
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? CallWay { get; set; }

        /// <summary>
        /// Desc:入参
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? InParam { get; set; }

        /// <summary>
        /// Desc:出参
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? OutParam { get; set; }

        /// <summary>
        /// Desc:状态：0-待执行；1-成功；2-验证失败；3-执行失败
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? Status { get; set; }

        /// <summary>
        /// Desc:请求耗时毫秒数
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? CallMillisecond { get; set; }

        /// <summary>
        /// Desc:执行耗时毫秒数
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? ExecMillisecond { get; set; }

        /// <summary>
        /// Desc:创建时间
        /// Default:
        /// Nullable:True
        /// </summary>           
        public DateTime? CreateDate { get; set; }

        /// <summary>
        /// Desc:执行时间
        /// Default:
        /// Nullable:True
        /// </summary>           
        public DateTime? ExecDate { get; set; }

        /// <summary>
        /// Desc:完成时间
        /// Default:
        /// Nullable:True
        /// </summary>           
        public DateTime? FinishedDate { get; set; }

        /// <summary>
        /// Desc:重复执行次数
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? ReExecTimes { get; set; }

        /// <summary>
        /// Desc:关联任务Id
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? RefTaskId { get; set; }

        /// <summary>
        /// Desc:关联指令Id
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? RefInstructId { get; set; }

        /// <summary>
        /// Desc:错误信息
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? ErrorMsg { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? ExecBusinessCalss { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:False
        /// </summary>           
        public int LogType { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? Direction { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? CreateUserId { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? CreateUserName { get; set; }

    }
}
